main{
  min-height: 0;
}

.main {
  min-height: 1000px;
  width: 1130px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;

  .search_box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;

    > div {
      margin-right: 10px;
      &:last-child {
        margin-right: 0;
      }
    }

    input {
      width: 300px;
      height: 40px;
      outline: none;
      border-radius: 5px;
      padding: 10px;
      box-sizing: border-box;
      background-color: var(--ele_bg);
      border: 1px solid var(--bg_darken);
    }

    button {
      width: 100px;
      height: 40px;
      border-radius: 5px;
      background-color: var(--active);
      color: white;
      border: none;
      cursor: pointer;
    }
  }

  .search_criteria {
    margin: 20px 0;
    width: 100%;

    font-size: 14px;

    &::before {
      display: block;
      width: 100%;
      height: 1px;
      background-color: var(--bg);
      content: "";
      margin-bottom: 20px;
    }

    &::after {
      display: block;
      width: 100%;
      height: 1px;
      background-color: var(--bg);
      content: "";
    }

    > ul {
      display: flex;
      list-style: none;
      margin: 10px;
      flex-wrap: wrap;

      > li {
        padding: 3px 8px;
        margin-right: 10px;


        &:hover {
          a {
            color: var(--active);
          }
        }
      }

      > li.active {
        background-color: var(--active);
        border-radius: 5px;

        a {
          color: white;
        }
      }

      a {
        color: var(--font_2);
      }
    }


  }

  .search_content {
    width: 100%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;

    > li {
      width: 200px;
      height: 190px;
      border: 1px solid var(--bg_darken);
      border-radius: 5px;
      overflow: hidden;
      margin: 0 30px 30px 0;

      &:nth-child(5n) {
        margin-right: 0;
      }
    }

    .img {
      display: block;
      width: 100%;
      height: 100px;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .info {
      padding: 8px;

      .title {
        margin-bottom: 5px;
        height: 45px;
      }

      a {
        color: var(--font_1);
        font-size: 14px;
      }

      .icon {
        font-size: 14px;
        display: flex;
        justify-content: space-between;

      }
    }

  }
  .no_content{
    width: 100%;
    height: 500px;
    background:url("/static/my/img/search/no_content.png") no-repeat center center;
  }
}

.pager {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: center;

  > li {
    min-width: 70px;
    height: 30px;
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid var(--bg_darken);
    cursor: pointer;
    transition: all .3s;
    margin-right: 10px;

    &:last-child {
      margin-right: 0;
    }

    a {
      width: 100%;
      height: 100%;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      color: var(--font_2);
    }

    &:hover {
      background-color: var(--active);

      a {
        color: white;
      }
    }

  }

  > li.active {
    background-color: #3e8ee6 !important;

    a {
      color: var(--font_2);
    }
  }
}